package old;

/**
 * @program: spring-demo1
 * @author: JCM
 * @create: 2023-06-11 11:34
 * @description:
 **/
public class Car {
    private Framework framework;
    public Car(int size) {
        framework = new Framework(size);
    }

    public void Init() {
        // 依赖于车身
        System.out.println("执行了汽车初始化：");
        framework.Init();
    }
}
